//
//  ProduceLongTimeCollectionViewCell.m
//  ZJControlsClass
//
//  Created by mac on 2024/11/29.
//

#import "ProduceLongTimeCollectionViewCell.h"

@interface ProduceLongTimeCollectionViewCell ()





@end



@implementation ProduceLongTimeCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    
    if (self){

        
        [self addSubview:self.areaLabel];
        [self.areaLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.top.right.bottom.equalTo(self);
        }];
        
        
        
    }
    
    return self;
}






#pragma mark -- 懒加载
-(UILabel *)areaLabel{
    if (!_areaLabel){
        _areaLabel = [UILabel new];
        _areaLabel.textColor = COLOR_RGB(131, 86, 63);
        _areaLabel.font = [UIFont systemFontOfSize:18 weight:0.3];
        _areaLabel.textAlignment = NSTextAlignmentCenter;
        _areaLabel.layer.cornerRadius = 1;
        _areaLabel.layer.masksToBounds = YES;
        _areaLabel.layer.borderColor = COLOR_RGB(131, 86, 63).CGColor;
        _areaLabel.layer.borderWidth = 0.5;
    }
    return _areaLabel;
}




@end
